package com.ruoyi.mobile.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 预约类
 * @author wad
 * @date 2022/5/7 9:58
 * @project RuoYi-YiQing
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Forward {

    private Integer id;
    private Integer userId;
    private Integer clinicId;
    private String forwardReason;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date forwardTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

}
